//左浮动
.fl{
    float:left
}
//右浮动
.fr{
    float: right;
}
//清理浮动
.clearfix:after{
    display: block;
    content:'' ;
   clear: both;
   height: 0;
}

.top{
    background-color: #333333;
    height: 40px;
}
.container{
    // background:skyblue;
    margin: auto;
    // min-height: 1000px;
    width: 1180px;
}
.top-box{
    height: 40px;
    line-height: 40px;
    font-size: 12px;
   
}
.top-nav-list{
    height: 100%;
   
}
.top-nav-list a,.login-box>div{
    color: #fff;
}
.text-lnk{
    display: inline-block;
    margin-right: 25px;
}


//登录注册购物车
.top-user-box{
    height: 100%;
   
}
.login-box{
    float: left;
    // display:none;
    
}
.login-ok{
    float: left;
    color: #fff;
    margin-right: 25px;
    display:none;


}
.login-hide{
    width: 120px;
    height: 300px;
    padding-top: 5px;
    background: #fff;
    border: 1px solid #aaa;
    position:absolute;
    top: 5px;
    right: 289px;
    z-index: 2;
    text-align: center;
    border-radius: 4px;
    display: none;
  span{
    float: left;
    width: 100%;
    height: 30px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
  }
}
.login-box a{
    color: #fff;
}
#cart-box{
   float:right;
    width: 40px;
    height: 40px;
    position: relative;
}
#cart-box:hover > .cart-list{
  
    height: 100px;

}

.cart-list{

    position: absolute;
    top: 40px;
    right: 0;
    line-height: 100px;
    font-size: 14px;
    color: #333;
    text-align: center;
    width: 300px;
    height: 0;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 10px rgb(0, 0, 0,.15);
    transition: all .3s;
}
#cart-box a{
  display: block;
  height: 100%;
  background: url(../img/img/index_img/font.png) -300px -41px;
   
}
.js-Login{
    float: left;
    cursor: pointer;
    color: #fff;
}

.js-Reg{
    float: left;
    cursor: pointer;
}

//header  log search
.index-header{
    height: 42px;
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}
.index-box{
   
    height: 102px;


}
.header-nav-search{
  
    height: 36px;
}
.header-nav-search a,.nav-list{
    float: left;
    cursor: pointer;
    color: #333;
}
.nav-list a{
    margin-left: 50px;
    font-size: 18px;
    line-height: 36px;
}

.header-nav-search a img{
    width: 180px;
    height: 36px;
}
.search-box{
    float: right;
  
}
.search-bar{
    width: 420px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 30px;
    line-height: 36px;
    text-align: center;
}
.search-bar input{
    border: none;
    height: 24px;
    width: 340px;
    background-color: #faf6f6;
}
.search-bar button{
    background-color: #faf6f6;
    border: none;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: url(../img/img/index_img/font.png) -372px -49px;
    cursor: pointer;
}
.box1{
    width: 340px;
    height: 240px;
    border: 1px solid #000;
    border-top: none;
   margin-left: 27px;
   display: none;
}
.search-box span{
    color: #333;
}
.search-list{
    padding: 6px 30px 0;
    height: 21px;
}
.search-list a{
    margin-right:10px ;
    color: #666;
}
